<#include "../inc/header.ftl" />
<div class="admin-content">
    <ui id="error" class="message error" style="display:none;"></ui>
    <form id="passwordForm" name="passwordForm" method="post" action="${base}/admin/user/password/change">
        <table class="formtable">
            <tr>
                <td class="label">验证旧密码</td>
                <td class="field"><input type="password" class="textinput" autocomplete="off" name="oldPassword" /></td>
            </tr>
            <tr>
                <td class="label">新密码</td>
                <td class="field"><input type="password" class="textinput" autocomplete="off" name="newPassword" id="newPassword"/></td>
            </tr>
            <tr>
                <td class="label">重复新密码</td>
                <td class="field"><input type="password" class="textinput" autocomplete="off" name="rePassword"/></td>
            </tr>
            <tr>
                <td colspan="2" class="toolbar">
                    <input class="btn btn-default" type="submit" value="修改密码"/>
                </td>
            </tr>
        </table>
    </form>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        admin.user.validatePwdForm();
    });
</script>
<#include "../inc/footer.ftl" />